﻿#ifndef ACTIONCONTROL_H
#define ACTIONCONTROL_H

#include <QAction>

#include "domainobject.h"

class ActionControl : public QAction
{
    Q_OBJECT
public:
    explicit ActionControl(QObject *parent = 0);

    void setId(int id);
    int getId();
    void setType(int type);
    int getType();

    void doReload(DomainObject* domainObject);

      void doControlOne();

signals:

public slots:
    void doControl();

private:
    int id;
    int type;

private:
    QObject*     main;
    DomainObject*   domainObject;
};



#endif // ACTIONCONTROL_H
